package com.swagger.swagger.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author Janson
 * @Date 2022/3/5 15:52
 * @Version 1.0
 */
@RestController
public class JansonController {
    @RequestMapping("/janson")
    public List person(){
        ArrayList<Object> list = new ArrayList<>();
        list.add("Janson");
        list.add(24);
        list.add("男人");
        list.add("他的女人是 豆包");
        return list;
    }
}
